<div class="menu">
<!--    <ul>
        <li class="selected">
            <a href="#" onclick="showOnly('tabDashboard','dashWidget')">
                <?php echo $this->Html->image("icons/home.png",array("alt"=>"Dashboard")); ?>
                Dashboard</a>
        </li>
        <li>
            <a href="#" onclick="showOnly('tabSettings','dashWidget')">Settings</a>
        </li>
        <li>
            <a href="#" onclick="showOnly('tabAccount','dashWidget')">Account</a>
        </li>
    </ul>-->
    <div class="info">
        <div><a href="<?php echo $this->Html->url("/users/logout") ?>" class="icOff">Sign off</a></div>
        <div class="user">
            <?php echo $this->Html->image("user_icon.png",array("alt"=>"User name","width"=>"27"," height"=>"27")); ?>
            
            <span><?php echo $this->Session->read('Auth.User.user_name'); ?></span>
            <span class="detail">Last login:<?php echo date("d,M Y",strtotime($this->Session->read('Auth.User.last_login')));//die(); ?></span>
        </div>
    </div>

    <div class="theme">
        <a href="#" class="styleswitch red" rel="red">&nbsp;</a>
        <a href="#" class="styleswitch green" rel="green">&nbsp;</a>
        <a href="#" class="styleswitch brown" rel="brown">&nbsp;</a>
        <a href="#" class="styleswitch blue" rel="blue">&nbsp;</a>
        <span> Theme </span>
    </div>
</div>